[JTC] Renaming variables, reordering trajectory checks#1032
[JTC] Renaming variables, reordering trajectory checks#1032christophfroehlich merged 10 commits intomasterfrom
Conversation
|
This pull request is in conflict. Could you fix it @destogl? |
|
Recently merged the wraparound feature which caused some conflicts. Also, this may be interesting for @fmauch |
christophfroehlich
left a comment
There was a problem hiding this comment.
LGTM and improves readability!
|
👀 @destogl |
saikishor
left a comment
There was a problem hiding this comment.
LGTM, apart from the following minor comment.
Now with the changes, it looks clear and good
joint_trajectory_controller/src/joint_trajectory_controller.cpp
Outdated
Show resolved
Hide resolved
|
Please adjust / extend the tests |
christophfroehlich
left a comment
There was a problem hiding this comment.
This includes #780, which has the same failing test: test_no_jump_when_state_tracking_error_not_updated
|
This pull request is in conflict. Could you fix it @destogl? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1032 +/- ##
==========================================
- Coverage 84.76% 84.75% -0.01%
==========================================
Files 124 124
Lines 11444 11443 -1
Branches 967 967
==========================================
- Hits 9700 9699 -1
Misses 1432 1432
Partials 312 312
Flags with carried forward coverage won't be shown. Click here to find out more.
|
joint_trajectory_controller/src/joint_trajectory_controller.cpp
Outdated
Show resolved
Hide resolved
joint_trajectory_controller/src/joint_trajectory_controller.cpp
Outdated
Show resolved
Hide resolved
Co-authored-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
|
@christophfroehlich it seems the downstream builds are failing from the UR drivers scaled JTC. Shall we inform Felix? |
The changes are simple, I can open a PR for the ur_controllers |
This PR increseas readability of the JTC by renaming trajectory varialbes to be semantically correct and self explainable.
Also it reoders checks of the trajectories done in the callback. They are grouped based on the things they are checking, i.e., 1. data available, 2. time checks; 3. trajectory point checks.
Additionally, it adds "last_commanded_time_" for the open loop mode to be more correct when setting point before trajectory.#780